<html>
<head>
<title>
Add New User
</title>

<script type="text/javascript">

function validate()
{
var xid = document.getElementById("xid").value;
var fullname= document.getElementById("fullname").value;
var email = document.getElementById("email").value;
var domain = document.getElementById("domain").value;


if(xid == "" || xid == " " || xid == null)
{
alert("Please enter the XID to proceed");
return false;
}

if(fullname== "" || fullname== " ")
{
alert("Please enter the fullname to proceed");
return false;
}

if(email == "" || email == " ")
{
alert("Please enter the email to proceed");
return false;
}

if(domain == "" || domain == "Select Domain")
{
alert("Please enter the domain to proceed");
return false;
}

return true;
}

</script>
<!-- Change Password -->

</head>

<body bgcolor="#C9C299">

<h3>Enter your details :</h3>

<form name="registerform" method="post" action="processRegisterUser.php">

<table border="1">
<tr><td><b>Enter your PC login ID    : </b><input type="text" name="xid" id="xid" /></td></tr>
<tr><td><b>Enter your full name         : </b><input type="text" name="fullname" id="fullname" /></td></tr>
<tr><td><b>Enter your tcs email         	: </b><input type="text" name="email" id="email" /></td></tr>

<tr><td><b>Select your domain :  </b>
   <select id="domain" name="domain" >
    <option value="Select Domain">Select Domain</option>
    <option value="MTC">MTC</option>
    <option value="Kernel">Kernel</option>
    <option value="USM" >USM</option>
    <option value="FCAPS">FCAPS</option>
    <option value="NGW" >NGW</option>
    <option value="CA" >CA</option>
    <option value="SSG" >SSG</option>
    </select>
</td></tr>

</table>
</br><br>	
<input type="submit" value="Submit" name="submit" onclick="return validate();"/>

</form>

</body>

</html>